package com.hsmpay.mobile.service.bank;

import com.hsmpay.common.service.BaseService;
import com.hsmpay.mobile.pojo.bank.BankBranches;

import java.io.Serializable;
import java.util.List;

/**
 * 合作银行支行业务接口 bankService
 * 对应数据层 bankDao
 *
 * @param <Entity>
 * @param <Query>
 * @author 颜铃璋
 * @date 2013-3-25
 */
public interface BankBranchesService<Entity extends Serializable, Query extends Object> extends BaseService<Entity, Query> {
    /**
     * 根据Id 查询支行
     *
     * @param id
     * @return
     * @throws Exception
     */
    public BankBranches searchBankBranchesById(Long id) throws Exception;

    /**
     * 查询支行列表
     *
     * @param bankBranches
     * @return
     * @throws Exception
     */
    public List<BankBranches> searchBankBranchesList(BankBranches bankBranches) throws Exception;
}
